{{useCss "/app-pages/css/tickets.scss"}}
<div class="typetitle">
    优惠神券
</div>
<div class="tickets_list">
	{{#if $Cache.tickets.list.length}}
	{{#each $Cache.tickets.list}}
	<href to="/ticket.html?id={{_id}}">
		<div class="name">{{info.name}}</div>
		<div class="ticket_info">
			<label>{{info.config.cut_cash}}元</label>
			满{{info.config.full_cash}}元使用
		</div>
		<div class="ticket_type">
			<div class="item">
				过期：
				{{#Time info.diedline,"YYYY-MM-DD","永久"}}
				{{$Js.Number.MAX_VALUE}}
			</div>
			<div class="item">
			</div>
		</div>
	</href>
	{{/each}}
	{{#else}}
	<div class="item">
		T_T暂时没有优惠券，请留意我们的活动
	</div>
	{{/if}}
</div>